package com.alingrad.android.froyoengine.util;

import com.alingrad.android.froyoengine.AllocationGuard;

public class GLColor extends AllocationGuard {
	private float mRed;
	private float mGreen;
	private float mBlue;
	private float mAlpha;
	
	public GLColor(float r, float g, float b, float a) {
		super();
		mRed = r;
		mGreen = g;
		mBlue = b;
		mAlpha = a;
	}
	
	public float getRed(){
		return mRed;
	}
	public float getGreen() {
		return mGreen;
	}
	public float getBlue() {
		return mBlue;
	}
	public float getAlpha() {
		return mAlpha;
	}
	
	public static final GLColor RED = new GLColor(1f, 0f, 0f, 1f);
	public static final GLColor BLUE = new GLColor(0f, 0f, 1f, 1f);
	public static final GLColor GREEN = new GLColor(0f, 1f, 0f, 1f);
	public static final GLColor WHITE = new GLColor(1f, 1f, 1f, 1f);
	public static final GLColor BLACK = new GLColor(0f, 0f, 0f, 1f);
	public static final GLColor YELLOW = new GLColor(1f, 1f, 0f, 1f);
	public static final GLColor PURPLE = new GLColor(1f, 0f, 1f, 1f);
	public static final GLColor CYAN = new GLColor(0f, 1f, 1f, 1f);
}
